/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 用户签到明细表实体类
 *
 * @author zcc
 * @since 2021-11-30
 */
@Data
@TableName("blade_user_sign_detail_history")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserSignDetailHistory对象", description = "用户签到明细表")
public class UserSignDetailHistory extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 签到规则id
	 */
	@ApiModelProperty(value = "签到规则id")
	private Long signSettingId;
	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	private Long userId;
	/**
	 * 组ID
	 */
	@ApiModelProperty(value = "组ID")
	private Long groupId;
	/**
	 * 签到时间挫
	 */
	@ApiModelProperty(value = "签到时间挫")
	private Long signTime;
	/**
	 * 签到地址
	 */
	@ApiModelProperty(value = "签到地址")
	private String signAddress;
	/**
	 * 0:迟到补卡 1：正常 ，2 缺勤补卡 针对签到
	 */
	@ApiModelProperty(value = "0:迟到补卡 1：正常 ，2 缺勤补卡 针对签到")
	private Integer signBeLate;
	/**
	 * 签退签到时间挫
	 */
	@ApiModelProperty(value = "签退签到时间挫")
	private Long signOutTime;
	/**
	 * 签退地址
	 */
	@ApiModelProperty(value = "签退地址")
	private String signOutAddress;
	/**
	 * 0:早退补卡 1：正常更新 2 缺勤补卡 针对签退
	 */
	@ApiModelProperty(value = "0:早退补卡 1：正常更新 2 缺勤补卡 针对签退")
	private Integer signOutLeaveEarly;
	/**
	 * 签到日期格式20210728
	 */
	@ApiModelProperty(value = "签到日期格式20210728")
	private Long signDate;
	/**
	 * 0:缺勤1:正常
	 */
	@ApiModelProperty(value = "0:缺勤1:正常")
	private Integer signStatus;


	/**
	 * 经度
	 */
	@ApiModelProperty(value = "经度")
	private String signLongitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value = "纬度")
	private String signLatitude;


	/**
	 * 经度
	 */
	@ApiModelProperty(value = "经度")
	private String signOutLongitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value = "纬度")
	private String signOutLatitude;

	/**
	 * 0:缺勤1:正常
	 */
	@ApiModelProperty(value = "1:补卡 2 正常")
	private Integer newSign;


	/**
	 * 针对签退
	 */
	@ApiModelProperty(value = "1:补卡 2 正常")
	private Integer newSignOut;


	@ApiModelProperty(value = "签卡说明")
	private String signDesc;

	@ApiModelProperty(value = "签到补卡说明")
	private String newSignDesc;

	@ApiModelProperty(value = "签退补卡说明")
	private String newSignOutDesc;

	@ApiModelProperty(value = "考勤id")
	private Long signDetailId;

	@ApiModelProperty(value = "签到类型1:范围内，2：范围外")
	private Integer signType;

	@ApiModelProperty(value = "签到类型1:范围内，2：范围外")
	private Integer signOutType;
}
